package com.nnxy.competition.entity;

import lombok.Data;

import java.util.List;

/**
 * 团队信息
 */
@Data
public class Team {
    private String teamId;

    private User captain;

    private Long applyTime;

    private String teamName;

    private Integer teamState;

    private Integer teamHeadcount;

    private Competition competition;

    private List<User> users;

    private String teamContent;

    private List<Apply> applies;

    public String getTeamId() {
        return teamId;
    }

    public void setTeamId(String teamId) {
        this.teamId = teamId == null ? null : teamId.trim();
    }

    public User getCaptain() {
        return captain;
    }

    public void setCaptain(User captain) {
        this.captain = captain;
    }

    public String getTeamName() {
        return teamName;
    }

    public void setTeamName(String teamName) {
        this.teamName = teamName == null ? null : teamName.trim();
    }

}